package com.origin.utils.activity

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.origin.utils.R
import kotlinx.android.synthetic.main.activity_te.*

class TeActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_te)
        val name = intent.getStringExtra("name")
        back.setOnClickListener {
            val intent = Intent();
            intent.putExtra("name_after", name + "_123")
            setResult(500, intent)
            finish()
        }
    }
}